@@ -6,4 +6,5 @@ Once you've run `bin/setup_heroku`, you should have 'cantino/huginn' as a remote |
||
| 6 | 6 |
git fetch origin |
| 7 | 7 |
git merge origin/master |
| 8 | 8 |
git push -f heroku master # note: this will wipe out any code changes that only exist on Heroku! |
| 9 |
+heroku run rake db:migrate # this will migrate the database to the latest state (not needed for every update, but always safe to run) |
|
| 9 | 10 |
``` |
@@ -32,7 +32,7 @@ sudo -u huginn -H cp Procfile Procfile.bak |
||
| 32 | 32 |
Get the new code |
| 33 | 33 |
``` |
| 34 | 34 |
sudo -u huginn -H git fetch --all |
| 35 |
-sudo -u huginn -H git checkout -- db/schema.rb Procfile |
|
| 35 |
+sudo -u huginn -H git checkout -- Procfile |
|
| 36 | 36 |
sudo -u huginn -H git checkout master |
| 37 | 37 |
sudo -u huginn -H git pull |
| 38 | 38 |
``` |